//const ROOT = require('../package.json')
//const HOST = 'https://api.minchao.club'
//const HOST = 'https://mjsj.mynatapp.cc'
const HOST = 'https://api.aoji-china.com'
const APP_ID = 'wxcb76b86b276120c3'
const M_APP_ID = 'wxcb76b86b276120c3'
const AXIOS_HOST = '/mis'
const APPLICATION_ID = 'D4D4F2A8B148435A9F93DB6FEF8BFEDD'
const APPLICATION_KEY = 'DBA19F52BE5B48DF90EFB7C4DF736320'
// 注意小程序开发时，这个地方一定记得写死
const VERSION = `v${ROOT.version}`
// 1.h5 2.小程序 3.快应用
const TYPE = 1

const PARAMETERS = {
    /**  USER **/
    USER: {
        LOGIN: {
            url: '/api/app/user/login',
            method: 'GET'
        }, //用户登陆
        UPDATE_USER: {
            url: '/api/app/user/info',
            method: 'GET'
        }, //用户信息
        GET_PHONE_NUMBER: {
            url:  '/api/app/user/phone',
            method: 'GET'
        }, //微信用户绑定的手机
        FIND_UN_PAY_SHOP_BAGS: {
            url: '/api/app/user/findUnPayShopBags',
            method: 'GET'
        }, //微信用户获取未支付的购物袋数据
        GET_UN_PAY_SHOP_BAG_NUM: {
            url: '/api/app/user/getUnPayShopBagNum',
            method: 'GET'
        }, //微信用户获取未支付的购物袋数量
        JOIN_SHOP_BAG: {
            url: '/api/app/user/joinShopBag',
            method: 'POST'
        }, //微信用户将商品添加入购物袋
        PLUS_SHOP_BAG_GOODS: {
            url: '/api/app/user/plusShopBagGoods',
            method: 'PUT'
        }, //追加购物袋内指定商品数量
        MINUS_SHOP_BAG_GOODS: {
            url: '/api/app/user/minusShopBagGoods',
            method: 'PUT'
        }, //递减购物袋内指定商品数量
        REMOVE_SHOP_BAG_GOODS: {
            url: '/api/app/user/removeShopBagGoods',
            method: 'DELETE'
        }, //移除购物袋内指定商品
        FIND_SYS_NOTICE: {
            url: '/api/app/user/findSysNotices',
            method: 'GET'
        }, //微信用户获取系统通知数据
        GET_NO_LOOK_SYS_NOTICE_NUM: {
            url: '/api/app/user/getNoLookSysNoticeNum',
            method: 'GET'
        }, //微信用户获取未查看系统通知数量
        SET_SYS_NOTICE_LOOK: {
            url: '/api/app/user/setSysNoticeLook',
            method: 'PUT'
        }, //根据微信用户编码设置未查看系统通知为已读
        FIND_USER_BILL: {
            url: '/api/app/user/findUserBill',
            method: 'GET'
        }, //微信用户获取获利记录
        BIND_PHONE: {
            url: '/api/app/user/bindPhone',
            method: 'PUT'
        }, //绑定手机号
        USER_FOLLOW: {
            url: '/api/app/user/follow',
            method: 'POST'
        }, //用户关注
        USER_CANCEL_FOLLOW: {
            url: '/api/app/user/cancelFollow',
            method: 'DELETE'
        }, //用户取消关注
        USER_FIND_FOLLOW: {
            url: '/api/app/user/findFollow',
            method: 'GET'
        }, //用户查询关注列表
        USER_FIND_FANS: {
            url: '/api/app/user/findFans',
            method: 'GET'
        }, //用户查询粉丝
        USER_FAVORITE: {
            url: '/api/app/user/favorite',
            method: 'POST'
        }, //用户收藏
        FIND_WX_USER: {
            url: '/api/app/user/findWxUser',
            method: 'GET'
        },
        GET_WX_USER: {
            url: '/api/app/user',
            method: 'GET'
        },
        OPEN_IM: {
            url: '/api/app/user/openIM',
            method: 'PUT'
        },
        CLOSE_IM: {
            url: '/api/app/user/closeIM',
            method: 'PUT'
        },
        SCAN: {
            url: '/api/app/user/userScan',
            method: 'POST'
        },
        SET_AGENT: {
            url: '/api/app/user/setAgent',
            method: 'PUT'
        },
        CANCEL_AGENT: {
            url: '/api/app/user/cancelAgent',
            method: 'PUT'
        },
        UPDATE_CUSTOM_DATA: {
            url: '/api/app/user/updateCustomData',
            method: 'PUT'
        },
        FIND_WX_USER_BY_MEDIA: {
            url: '/api/app/user/findWxUserByMedia',
            method: 'GET'
        }
    },
    /** COMMON **/
    COMMON: {
        LOAD_HOT_SEARCH: {
            url: '/api/app/common/loadHotSearch',
            method: 'GET'
        },
        CHECK_EXPRESS_FEE: {
            url: '/api/app/common/checkExpressFee',
            method: 'GET'
        }, //检查邮费
        SEND_SMS_CODE: {
            url: '/api/app/common/sendSMSCode',
            method: 'GET'
        }, //获取验证码
        VERIFY_SMS_CODE: {
            url: '/api/app/common/verifySmsCode',
            method: 'GET'
        }, //校验手机验证码
    },
    /** APP **/
    APP: {
        WX_CREATE_UNIFIED_ORDER: {
            url: '/api/app/pay/createUnifiedOrder',
            method: 'POST'
        }, //创建微信统一订单
        WX_NOTIFY_ORDER: {
            url: '/api/app/pay/notify/order',
            method: 'POST'
        }, //支付回调通知
        WX_NOTIFY_REFUND: {
            url: '/api/app/pay/notify/refund',
            method: 'POST'
        }, //退款回调通知
        WX_NOTIFY_SCANPAY: {
            url: '/api/app/pay/notify/scanpay',
            method: 'POST'
        }, //扫码支付回调通知
        WX_PORTAL_AUTH_GET: {
            url: '/api/app/protal',
            method: 'GET'
        }, //应用端消息接口
        WX_PORTAL_POST: {
            url: '/api/app/protal',
            method: 'POST'
        },
        CREATE_QR_CODE_UNLIMIT: {
            url: '/api/app/wx/qrCode/createQrCodeUnlimit',
            method: 'POST'
        }, // 生成小程序码，可接受页面参数较短，生成个数不受限
        CREATE_GOODS_QR_CODE_UNLIMIT: {
            url: '/api/app/wx/qrCode/createGoodsQrCodeUnlimit',
            method: 'POST'
        }
    },
    /** BANNER **/
    BANNER: {
        FIND_BANNER: {
            url: '/api/app/banner/findBanner',
            method: 'GET'
        }
    },
    /** EXPLORE **/
    EXPLORE: {
        LOAD_EXPLORE: {
            url: '/api/app/explore/loadexplores',
            method: 'GET'
        },
        GET_DETAIL: {
            url: '/api/app/explore/detail',
            method: 'GET'
        },
        FIND_EXPLORE_GOODS: {
            url: '/api/app/explore/findExploreGoods',
            method: 'GET'
        }
    },
    /** FEEDBACK **/
    FEEDBACK: {
        FEEDBACK_CREATE: {
            url: '/api/app/feedBack',
            method: 'POST'
        },
        FIND_FEEDBACK: {
            url: '/api/app/feedBack/loadFeedBack',
            method: 'GET'
        }
    },
    /** FILE **/
    FILE: {
        FIND_FILE: {
            url: '/api/app/file/findFiles',
            method: "GET"
        },
        UPLOAD_FILE: {
            url: '/api/app/file/upload',
            method: "POST"
        },
        UPLOAD_FILES: {
            url: '/api/app/file/uploads',
            method: 'POST'
        },
        REMOVE_FILE: {
            url: '/api/app/file',
            method: "DELETE"
        },
        GET_DOWNLOAD_URL: {
            url: '/api/app/file/getDownloadUrl',
            method: 'GET'
        }
    },
    /** GUILDS **/
    GUILDS: {
        FIND_GUILDS: {
            url: '/api/app/guilds/findGuilds',
            method: 'GET'
        },
        GET_GUILDS: {
            url: '/api/app/guilds',
            method: 'GET'
        },
        GET_GUILDS_MEMBER: {
            url: '/api/app/guilds/getGuildsMember',
            method: 'GET'
        },
        GET_GUILDS_BY_USER_ID: {
            url: '/api/app/guilds/getGuildsByUserId',
            method: 'GET'
        },
        CREATE_GUILDS: {
            url: '/api/app/guilds/create',
            method: 'POST'
        },
        JOIN_GUILDS: {
            url: '/api/app/guilds/join',
            method: 'POST'
        },
        QUIT_GUILDS: {
            url: '/api/app/guilds/quitGuilds',
            method: 'POST'
        },
        FIND_USER_BY_GUILDS_ID: {
            url: '/api/app/guilds/findGuildsMemberInfo',
            method: 'GET'
        }
    },
    /** IMAGE_TEXT **/
    IMAGE_TEXT: {
        FIND_IMAGE_TEXT: {
            url: '/api/app/imageText/findImageText',
            method: 'GET'
        }
    },
    /** MEDIA **/
    MEDIA: {
        FIND_MEDIA: {
            url: '/api/app/media/findMedia',
            method: 'GET'
        },
        GET_MEDIA: {
            url: '/api/app/media',
            method: 'GET'
        },
        FIND_MEDIA_FILE: {
            url: '/api/app/media/findMediaFile',
            method: 'GET'
        }
    },
    /** MEDIA_LIBRARY 媒体库**/
    MEDIA_LIBRARY: {
        GET_MEDIA_LIBRARY: {
            url: '/api/app/media/library',
            method: 'GET'
        },
        FIND_MEDIA_LIBRARY: {
            url: '/api/app/media/library/findMediaLibrary',
            method: 'GET'
        },
        FIND_MEDIA_LIBRARY_PO: {
            url: '/api/app/media/library/findMediaLibraryPO',
            method: 'GET'
        }
    },
    /** NOTE **/
    NOTE: {
        GET_NOTE: {
            url: '/api/app/note',
            method: 'GET'
        },
        FIND_NOTE: {
            url: '/api/app/note/findNote',
            method: 'GET'
        },
        REMOVE: {
            url: '/api/app/note',
            method: 'DELETE'
        },
        SAVE: {
            url: '/api/app/note',
            method: 'POST'
        },
        ENABLE: {
            url: '/api/app/note/enable',
            method: 'PUT'
        },
        DISABLE: {
            url: '/api/app/note/disable',
            method: 'PUT'
        },
        FAVORITE: {
            url: '/api/app/note/favorite',
            method: 'POST'
        },
        FAVORITE: {
            url: '/api/app/note/cancelFavorite',
            method: 'DELETE'
        },
        CHECK_FAVORITE: {
            url: '/api/app/note/checkFavorite',
            method: 'GET'
        },
        PRAISE: {
            url: '/api/app/note/praise',
            method: 'POST'
        },
        CANCEL_PRAISE: {
            url: '/api/app/note/cancelPraise',
            method: 'DELETE'
        },
        GET_NOTE_LABEL: {
            url: '/api/app/note/label',
            method: 'GET'
        },
        FIND_NOTE_LABEL: {
            url: '/api/app/note/label/findNoteLabel',
            method: 'GET'
        }
    },
    /** SHOP **/
    SHOP: {
        LOAD_GOODS: {
            url: '/api/app/goods/loadGoods',
            method: "GET"
        },
        GET_GOODS: {
            url: '/api/app/goods/detail',
            method: 'GET'
        },
        SAVE_GOODS: {
            url: '/api/app/goods',
            method: 'POST'
        },
        REMOVE_GOODS: {
            url: '/api/app/goods',
            method: 'DELETE'
        },
        LOAD_GOODS_CATEGORY: {
            url: '/api/app/goods/loadGoodsCategorys',
            method: 'GET'
        },
        GET_GOODS_SUB_CATEGORY: {
            url: '/api/app/goods/getGoodsSubCategory',
            method: 'GET'
        },
        LOAD_SUB_GOODS_CATEGORYS: {
            url: '/api/app/goods/loadGoodsSubCategorys',
            method: 'GET'
        },
        FAVORITE: {
            url: '/api/app/goods/favorite',
            method: 'POST'
        },
        CANCEL_FAVORITE: {
            url: '/api/app/goods/cancelFavorite',
            method: 'DELETE'
        },
        CHECK_FAVORITE: {
            url: '/api/app/goods/checkFavorite',
            method: 'GET'
        },
        LOAD_USER_FAVORITE_GOODS: {
            url: '/api/app/goods/loadUserFavoriteGoods',
            method: 'GET'
        },
        CREATE_GOODS_CONSULT: {
            url: '/api/app/goods/consult/create',
            method: 'POST'
        },
        GET_ORDER: {
            url: '/api/app/order',
            method: 'GET'
        },
        FIND_ORDER: {
            url: '/api/app/order/findOrders',
            method: 'GET'
        },
        CREATE_ORDER: {
            url: '/api/app/order',
            method: 'POST'
        },
        PAY_SUCCESS: {
            url: '/api/app/order',
            method: 'PUT'
        },
        CANCEL_ORDER: {
            url: '/api/app/order',
            method: 'DELETE'
        },
        FIND_ORDER_EXPORESS: {
            url: '/api/app/order/findOrderExpress',
            method: 'GET'
        },
        FIND_SELLER: {
            url: '/api/app/seller/findSeller',
            method: 'GET'
        },
        SEARCH_SELLER:{
            url: '/api/app/seller/searchSellers',
            method: 'GET'
        },
        REMOVE_SELLER: {
            url: '/api/app/seller',
            method: 'DELETE'
        },
        SAVE_SELLER: {
            url: '/api/app/seller',
            method: 'POST'
        },
        FIND_SELLER_BY_SUB_CATEGORY_ID: {
            url: '/api/app/seller/findSellerBySubCategoryId',
            method: 'GET'
        },
        GET_SELLER: {
            url: '/api/app/seller',
            method: 'GET'
        },
        FIND_TAG_LIBRARYS_BY_SUB_CATEGORY_ID: {
            url: '/api/app/tagLibrary/findTagLibraryBySubCategoryId',
            method: 'GET'
        },
        GET_TAG_LIBRARY: {
            url: '/api/app/tagLibrary',
            method: 'GET'
        },
        SAVE_TAG_LIBRARY: {
            url: '/api/app/tagLibrary',
            method: 'POST'
        },
        FIND_TAG_LIBRARY: {
            url: '/api/app/tagLibrary/findTagLibrary',
            method: 'GET'
        },
        UPDATE_TAG_LIBRARY_STATUS: {
            url: '/api/app/tagLibrary/updateStatus',
            method: 'PUT'
        },
        REMOVE_TAG_LIBRARY: {
            url: '/api/app/tagLibrary',
            method: 'DELETE'
        },
        SEARCH_TAG_LIBRARY_BY_NAME: {
            url: '/api/app/tagLibrary/searchName',
            method: 'GET'
        },
        UPDATE_GOODS_STATUS: {
            url: '/api/app/goods/updateStatus',
            method: 'PUT'
        },
        GOODS_STATISTICS_QUERY: {
            url: '/api/app/goods/statisticsQuery',
            method: 'GET'
        },
        FIND_USER_SCAN_GOODS: {
            url: '/api/app/goods/findUserScanGoods',
            method: 'GET'
        }
    },
    /** TOPIC **/
    TOPIC: {
        FIND_TOPIC: {
            url: '/api/app/topic/findTopic',
            method: 'GET'
        },
        FIND_TOPIC_BY_VO: {
            url: '/api/app/topic/findTopicByVO',
            method: 'GET'
        }
    },
    /** SELLER_ACCOUNT **/
    SELLER_ACCOUNT: {
        LOGIN: {
            url: '/api/app/seller/account/login',
            method: 'POST'
        },
        CREATE: {
            url: '/api/app/seller/account',
            method: 'POST'
        },
        PERFECT: {
            url: '/api/app/seller/account/perfect',
            method: 'PUT'
        },
        GET_SELLER_ACCOUNT: {
            url: '/api/app/seller/account',
            method: 'GET'
        },
        UPDATE_PASSWORD: {
            url: '/api/app/seller/account/updatePassword',
            method: 'PUT'
        },
        QUERY: {
            url: '/api/app/seller/account/findSellerAccount',
            method: 'GET'
        },
        UPDATE_STATUS: {
            url: '/api/app/seller/account/updateStatus',
            method: 'PUT'
        }
    },
    GOODS_CATEGORY: {
        FIND_GOODS_CATEGORY: {
            url: '/api/app/goods/category/findGoodsCategorys',
            method: 'GET'
        },
        GET_GOODS_CATEGORY: {
            url: '/api/app/goods/category/getGoodsCategory',
            method: 'GET'
        },
        FIND_GOODS_SUB_CATEGORY: {
            url: '/api/app/goods/category/findGoodsSubCategorys',
            method: 'GET'
        },
        SAVE_GOODS_CATEGORY: {
            url: '/api/app/goods/category/saveGoodsCategory',
            method: 'POST'
        },
        SAVE_GOODS_SUB_CATEGORY: {
            url: '/api/app/goods/category/saveGoodsSubCategory',
            method: 'POST'
        },
        REMOVE_GOODS_SUB_CATEGORY: {
            url: '/api/app/goods/category/removeGoodsSubCategory',
            method: 'DELETE'
        }
    },
    USER_SCAN: {
        FIND_USER_SCAN_BY_SELLER_ID: {
            url: '/api/app/user/scan/findUserScanBySellerId',
            method: 'GET'
        },
        FIND_USER_SCAN_BY_TARGET_ID: {
            url: '/api/app/user/scan/findUserScanByTargetId',
            method: 'GET'
        },
        FIND_USER_SCAN_BY_APP_ID: {
            url: '/api/app/user/scan/findUserScanByAppId',
            method: 'GET'
        },
        FIND_USER_SCAN_BY_USER_ID: {
            url: '/api/app/user/scan/findUserScanByUserId',
            method: 'GET'
        }
    },
    EASEMOB: {
        GET_EASEMOB_CONFIG: {
            url: '/api/app/easemob',
            method: 'GET'
        },
        SAVE: {
            url: '/api/app/easemob',
            method: 'POST'
        },
        FIND_CHAT_MESSAGE_RECORD: {
            url: '/api/app/easemob/findChatMessageRecord',
            method: 'GET'
        },
        GET_ACCESS_TOKEN: {
            url: '/api/app/easemob/getAccessToken',
            method: 'GET'
        }
    },
    APP_SYNOPSIS: {
        GET: {
            url: '/api/app/synopsis',
            method: 'GET'
        },
        CREATE: {
            url: '/api/app/synopsis',
            method: 'POST'
        },
        UPDATE: {
            url: '/api/app/synopsis',
            method: 'PUT'
        }
    },
    /** CUSTOMER_INFO **/
    CUSTOMER_INFO: {
        LOAD_CUSTOMER_INFO: {
            url: '/api/app/customer/info/loadCustomerInfo',
            method: 'GET'
        },
        GET: {
            url: '/api/app/customer/info',
            method: 'GET'
        },
        USER_APPLY:{
            url: '/api/app/customer/info/userApply',
            method: 'POST'
        },
        EMPLOYEE_ENTRY: {
            url: '/api/app/customer/info/employeeEntry',
            method: 'POST'
        },
        USER_SCAN_ENTRY: {
            url: '/api/app/customer/info/userScanEntry',
            method: 'POST'
        },
        CHECK_EXIST_RECORD: {
            url: '/api/app/customer/info/checkExistRecord',
            method: 'GET'
        },
        LOAD_INTENTION_LEVEL: {
            url: '/api/app/customer/info/loadIntentionLevel',
            method: 'GET'
        },
        LOAD_NEED_TYPE: {
            url: '/api/app/customer/info/loadNeedType',
            method: 'GET'
        }
    },
    EMPLOYEE: {
        GET_EMPLOYEE: {
            url: '/api/app/employee',
            method: 'GET'
        },
        SAVE_QR_CODE_URL: {
            url: '/api/app/employee/saveQRCodeUrl',
            method: 'PUT'
        },
        CREATE_WORK_TRACES: {
            url: '/api/app/employee/createWorkTraces',
            method: 'POST'
        },
        LOAD_WORK_TRACES: {
            url: '/api/app/employee/loadWorkTraces',
            method: 'GET'
        }
    },
    SHIP: {
        GET: {
            url: '/api/app/ship',
            method: 'GET'
        },
        FIND_ENABLE_SHIP: {
            url: '/api/app/ship/loadEnableShip',
            method: 'GET'
        },
        BOOKING: {
            url: '/api/app/ship/booking',
            method: 'POST'
        },
        CANCEL: {
            url: '/api/app/ship/cancel',
            method: 'PUT'
        },
        CONFLICT_DATA: {
            url: '/api/app/ship/conflict',
            method: 'GET'
        },
        COST_CALCULATION: {
            url: '/api/app/ship/costCalculation',
            method: 'GET'
        },
        FIND_SHIP_BY_USER_ID: {
            url: '/api/app/ship/findShipByUserId',
            method: 'GET'
        },
        REMOVE: {
            url: '/api/app/ship',
            method: 'DELETE'
        },
        SAVE: {
            url: '/api/app/ship',
            method: 'POST'
        },
        DIVIDE_USER: {
            url: '/api/app/ship/divide',
            method: 'POST'
        },
        DETACH_USER: {
            url: '/api/app/ship/detach',
            method: 'DELETE'
        },
        LOAD_SHIP_CATEGORY: {
            url: '/api/app/ship/loadShipCategory',
            method: 'GET'
        }
    },
    MEMBER: {
        GET_MEMBER: {
            url: '/api/app/member',
            method: 'GET'
        },
        LOAD_OPEN_CARD_RECORD: {
            url: '/api/app/member/loadOpenCardRecord',
            method: 'GET'
        },
        LOAD_BOOKING_SHIPS: {
            url: '/api/app/member/loadBookingShips',
            method: 'GET'
        },
        LOAD_CONSUME: {
            url: '/api/app/member/loadConsume',
            method: 'GET'
        }
    },
    DEVICE: {
        GET_DEVICE: {
            url: '/api/app/device',
            method: 'GET'
        },
        SEARCH_DEVICE: {
            url: '/api/app/device/searchDevice',
            method: 'GET'
        },
        REMOVE_DEVICE: {
            url: '/api/app/device',
            method: 'DELETE'
        },
        SAVE_DEVICE: {
            url: '/api/app/device',
            method: 'POST'
        },
        DIVIDE_USER: {
            url: '/api/app/device/divide',
            method: 'POST'
        },
        DETACH_USER: {
            url: '/api/app/device/detach',
            method: 'DELETE'
        },
        FIND_DEVICE_BY_USER_ID: {
            url: '/api/app/device/findDeviceByUserId',
            method: 'GET'
        }
    },
    DEVICE_CHECK: {
        GET_DEVICE_CHECK: {
            url: '/api/app/device/check',
            method: 'GET'
        },
        LOAD_DEVICE_CHECK: {
            url: '/api/app/device/check/loadDeviceCheck',
            method: 'GET'
        },
        LOAD_DEVICE_CHECK_LIST: {
            url: '/api/app/device/check/loadDeviceCheckList',
            method: 'GET'
        },
        APPLY_CHECK: {
            url: '/api/app/device/check/applyCheck',
            method: 'POST'
        },
        PAY_SUCCESS: {
            url: '/api/app/device/check/paySuccess',
            method: 'PUT'
        },
        DISTRIBUTE_EMPLOYEE: {
            url: '/api/app/device/check/distributeEmployee',
            method: 'PUT'
        },
        FEED_BACK: {
            url: '/api/app/device/check/feedBack',
            method: 'PUT'
        },
        CANCEL: {
            url: '/api/app/device/check/cancel',
            method: 'DELETE'
        }
    },
    DEVICE_CHECK_CATEGORY:{
        SAVE: {
            url: '/api/app/device/check/category',
            method: 'POST'
        },
        GET: {
            url: '/api/app/device/check/category',
            method: 'GET'
        },
        QUERY: {
            url: '/api/app/device/check/category/findDeviceCheckCategory',
            method: 'GET'
        },
        REMOVE: {
            url: '/api/app/device/check/category',
            method: 'DELETE'
        },
        FIND_ENABLE: {
            url: '/api/app/device/check/category/findEnableDeviceCheckCategory',
            method: 'GET'
        },
        ENABLE: {
            url: '/api/app/device/check/category/enable',
            method: 'PUT'
        },
        DISABLE: {
            url: '/api/app/device/check/category/disable',
            method: 'PUT'
        }
    },
    AREA: {
        FIND_TREE: {
            url: '/api/app/area/findAreaTree',
            method: 'GET'
        },
        FIND_PROVINCE: {
            url: '/api/app/area/findProvince',
            method: 'GET'
        },
        FIND_CITY: {
            url: '/api/app/area/findCity',
            method: 'GET'
        },
        FIND_COUNTY: {
            url: '/api/app/area/findCounty',
            method: 'GET'
        }
    },
    YACHT_CLUB: {
        GET_YACHT_CLUB: {
            url: '/api/app/yacht/club',
            method: 'GET'
        },
        LOAD_YACHT_CLUB: {
            url: '/api/app/yacht/club/loadYachtClub',
            method: 'GET'
        },
        CREATE_YACHT_CLUB: {
            url: '/api/app/yacht/club',
            method: 'POST'
        },
        UPDATE_YACHT_CLUB: {
            url: '/api/app/yacht/club',
            method: 'PUT'
        },
        REMOVE_YACHT_CLUB: {
            url: '/api/app/yacht/club',
            method: 'DELETE'
        }
    },
    MRO: {
        GET_MRO: {
            url: '/api/app/maintenance/organization',
            method: 'GET'
        },
        QUERY_MRO: {
            url: '/api/app/maintenance/organization/findMaintenanceOrganization',
            method: 'GET'
        },
        REMOVE_MRO: {
            url: '/api/app/maintenance/organization',
            method: 'DELETE'
        },
        SAVE_MRO: {
            url: '/api/app/maintenance/organization',
            method: 'POST'
        }
    },
    MRG: {
        GET_MRG: {
            url: '/api/app/maintenance/group',
            method: 'GET'
        },
        QUERY_MRG: {
            url: '/api/app/maintenance/group/findMaintenanceGroup',
            method: 'GET'
        },
        SAVE_MRG: {
            url: '/api/app/maintenance/group',
            method: 'POST'
        },
        REMOVE_MRG: {
            url: '/api/app/miantenance/group',
            method: 'DELETE'
        },
        LOAD_MRG_EMPLOYEE: {
            url: '/api/app/maintenance/group/findMaintenanceEmployeeByGroupId',
            method: 'GET'
        },
        APPEND_EMPLOYEE: {
            url: '/api/app/maintenance/group/appendEmployee',
            method: 'POST'
        },
        REMOVE_EMPLOYEE: {
            url: '/api/app/maintenance/group/removeEmployee',
            method: 'DELETE'
        },
        SET_EMPLOYEE_HEAD: {
            url: '/api/app/maintenance/group/setMaintenanceEmployeeHead',
            method: 'PUT'
        }
    },
    REPAIR_ORDER: {
        APPLY: {
            url: '/api/app/repair/applyRepair',
            method: 'POST'
        },
        PAY_SUCCESS: {
            url: '/api/app/repair/paySuccess',
            method: 'PUT'
        },
        QUERY: {
            url: '/api/app/repair/loadApplyRepairOrder',
            method: 'GET'
        },
        GET: {
            url: '/api/app/repair',
            method: 'GET'
        },
        GET: {
            url: '/api/app/repair',
            method: 'GET'
        },
        CANCEL: {
            url: '/api/app/repair/cancel',
            method: 'PUT'
        },
        COMPLETE: {
            url: '/api/app/repair/complete',
            method: 'PUT'
        },
        HANDLE:{
            url: '/api/app/repair/repairOrderHandle',
            method: 'PUT'
        },
        DISTRIBUTION: {
            url: '/api/app/repair/distribution',
            method: 'PUT'
        },
        START: {
            url: '/api/app/repair/start',
            method: 'PUT'
        }
    },
    EAE: {
        GET:{
            url: '/api/app/eae',
            method: 'GET'
        },
        QUERY: {
            url: '/api/app/eae/findEntryAndExit',
            method: 'GET'
        },
        CREATE: {
            url: '/api/app/eae',
            method: 'POST'
        },
        REMOVE: {
            url: '/api/app/eae',
            method: 'DELETE'
        },
        SUBMIT: {
            url: '/api/app/eae/submit',
            method: 'PUT'
        },
        BACK: {
            url: '/api/app/eae/back',
            method: 'PUT'
        },
        PASS: {
            url: '/api/app/eae/pass',
            method: 'PUT'
        },
        CANCEL: {
            url: '/api/app/eae/cancel',
            method: 'PUT'
        },
        APPEND_CREW_INFO: {
            url: '/api/app/eae/appendCrewInfo',
            method: 'POST'
        },
        UPDATE_CREW_INFO: {
            url: '/api/app/eae/updateCrewInfo',
            method: 'PUT'
        },
        REMOVE_CREW_INFO: {
            url: '/api/app/eae/removeCrewInfo',
            method: 'DELETE'
        },
        LOAD_ENTRY_AND_EXIT_TYPE: {
            url: '/api/app/eae/loadEntryAndExitType',
            method: 'GET'
        },
        LOAD_ENTRY_AND_EXIT_STATUS: {
            url: '/api/app/eae/loadEntryAndExitStatus',
            method: 'GET'
        }
    }
}
module.exports = {
    axiosHost: AXIOS_HOST,
    host: HOST,
    appid: APP_ID,
    mAppId: M_APP_ID,
    applicationId: APPLICATION_ID,
    applicationKey: APPLICATION_KEY,
    parameters: PARAMETERS,
    version:VERSION,
    type:TYPE
}